package com.sunmnet.j2ee.bean.powerdb.designer.chart;

/**
 * <PRE>
 * chart中的线集合
 * </PRE>
 * <B>项    目：</B>J2EE开发平台
 * <B>技术支持：</B>三盟科技 (c) 2016
 *
 * @author 黄坚：huangjian@sunmnet.com
 * @version 1.0 2016/8/9
 * @since jdk版本：jdk1.7
 */
public class LineInfo {

	private String id;
	private String name;
	private String fromShapeId;
	private String toShapeId;
	private String relationType;
	private String description;
	private String lineType;
	private String points;
	private Multiplicity multiplicity;

	public LineInfo() {}

	/**
	 * get multiplicity
	 *
	 * @return com.sunmnet.j2ee.bean.powerdb.designer.chart.Multiplicity
	 */
	public Multiplicity getMultiplicity() {
		return multiplicity;
	}

	/**
	 * set multiplicity
	 */
	public void setMultiplicity(Multiplicity multiplicity) {
		this.multiplicity = multiplicity;
	}

	/*	{
		"7b956a5271d5430466ae00d9f72f3cba": {
		"id": "7b956a5271d5430466ae00d9f72f3cba",
				"fromShapeId": "b753da307da286a068ed71edac75045a",
				"toShapeId": "60ab98a0e5418c8fa8e7c11589009c90",
				"relationType": "extends",
				"description": null,
				"lineType": "line_of_centers",
				"points": "153.08228980322002,328 289.123472286947,119 "
	}
	}*/

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFromShapeId() {
		return fromShapeId;
	}

	public void setFromShapeId(String fromShapeId) {
		this.fromShapeId = fromShapeId;
	}

	public String getToShapeId() {
		return toShapeId;
	}

	public void setToShapeId(String toShapeId) {
		this.toShapeId = toShapeId;
	}

	public String getRelationType() {
		return relationType;
	}

	public void setRelationType(String relationType) {
		this.relationType = relationType;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getLineType() {
		return lineType;
	}

	public void setLineType(String lineType) {
		this.lineType = lineType;
	}

	public String getPoints() {
		return points;
	}

	public void setPoints(String points) {
		this.points = points;
	}

	/**
	 * get name
	 *
	 * @return java.lang.String
	 */
	public String getName() {
		return name;
	}

	/**
	 * set name
	 */
	public void setName(String name) {
		this.name = name;
	}
}
